package pers.lls.im.core.util;


/**
 * @author lihuan
 * @version V1.0 创建时间：2019/8/02
 * Copyright 2019 by landray & STIC
 */
public class RemotingUtil {

    private RemotingUtil(){

    }

    public static final String OS_NAME = System.getProperty("os.name");

    private static boolean isLinuxPlatform = false;

    static {
        if (OS_NAME != null && OS_NAME.toLowerCase().contains("linux")) {
            isLinuxPlatform = true;
        }

    }

    public static boolean isLinuxPlatform() {
        return isLinuxPlatform;
    }


}
